package lianxi;

import lianxi.impl.MarkPersonFactory;

public class Test {
    public static void main(String[] args) throws Exception {
        MarkPersonFactory markPersonFactory = new MarkPersonFactory();
        Person person = markPersonFactory.doPerson("man");
        person.method();
        Person person1 = markPersonFactory.doPerson("woman");
        person1.method();
    }
}
